Fixed query for surveys.