Fixed enum equals, will convert to underlying enum type before comparing.
Merge pull request #2 from BeeWarloc/enum-compare-fix

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