Adding an early equality test