Fixed enum equals, will convert to underlying enum type before comparing.