Logic and filter conditions examples