Only compile Q objects if they have filtering values
Use the operator library instead of lambda expressions since its faster