Avoid redirecting out-of-range pages as this does not work for POST requests.
Currently, using the structured query API and an out-of-range page yields a "500 internal server error response" which was noticed during UI development. Additionally some other small inconsistencies/inefficiencies of our structured query representation compared to using the text parser are mitigated here as well.