applying conditions to boolean saved search