MDL-69431 course: validate section url param against maxsections