correct equality test (the original one was better)