updating behviour of selector drop down when switching queries so it works as expected. if selector no longer exists when switching then the rules will update to the first selector that is available otherwise it remains unchanged