Search query fix

Part of https://jira.oceanobservatories.org/tasks/browse/OOIION-1408