Improve should_prerender_request