Handle equality in a hacky way.