Improved [in]equality operator implementations.