Use correct equality comparison