Fix issue with URLs like domain.com/about/*/about, so that it triggers a 404 rather than a 500.