fix error where search types weren't toggling correctly.
Merge pull request #163 from wbprice/random-defects

fix error where search types weren't toggling correctly.