ignore when conditions is false, and allow null as condtion