Search query select fix

fixes Jira issue 1467
https://jira.oceanobservatories.org/tasks/browse/OOIION-1467?focusedCommentId=27614#comment-27614