Small optimization when an identity is removed.