Corrected eq operator