minor syntax fix for search queries