Bugfix: Support comparison with None
Make sure the objects are of the same type before compare
Merge pull request #173 from robwebset/FixCompareWithNone

Bugfix: Support comparison with None