Fix for Query Options search

Hi @robertkowalski, @ocelotpotpie, I've removed some superfluous code that was causing the problem outlined in the ticket. I've given the UI a good look over and haven't been able to encounter any problems, but a fresh pair of eyes would be *greatly* appreciated. 

Closes COUCHDB-2451