Updated equality comparison.