Remove use of '==' when comparing enums