Fix isHomePage for url with params