fix ConditionalWidget inversion