fixes various search bugs
quoted search with spaces