Best way I could think of is if that we could have two separate versions of the task, one with the flags and one without, and with inverse `when` conditions.