Backend redirect record edit form was not clear about the
fact that regular expression do not respect query parameter
if selected too. RegExp matching has been done only with
the path, even if the request has query parameters.
Thus it was not obvious to users why regular expression
evaluation against query parameter part has not been
matched.
To mitigate this regular expression redirects are matched
against path and query if respect_query_parameters was
set, otherwise against path only.
There may be instances with regexp redirects not covering
query parameters as that have not been checked in the past,
thus we need do a second match only against path to keep
them working.