Allow setting MAX_DEPTH via the maxdepth URL param