Fixed __eq__ method for Op class.