Some defensive checks against the baseUrl for query strings on home routes