Fixing query results not disappearing after switching Search