Made it so filters are cleared when the home page is visited and not when an document is