Added clearConditional method