Fixed an issue where discovery form elements would break after you retur...

...ned to a search results page using the back button