Add limits to search queries