Issue 117: Fixed wrong magic comparition.

This is 100% required for compatibility with Ruby 2.0