Replace weird conditional with non-weird conditional.