Use unless instead of when not.