added a defensive check to PluginFamily.AddInstance.  Closes GH-60