Compare ENUM rather than string