Remove unnecessary attributes
!= to ==