@query.present? instead of the double negative