Fix Native.=== on subclasses