Remove conditions for empty query