Fixes an issue with attribute get in ObjectWrap._get_model