Updated diversity for if/then.