Redirects like /index.php?id=<nonExistingPageId> -> <existingPageId> are failing
If you have a redirect like /index.php?id=333333333 -> 1819, where 333333333 is a non-existing id but 1819 is an existing target page id, the redirect failes and the page won't be found.
A fix is found in the attached patch file sg_routes_issue_7.patch