Fixed a bug causing submodelInterfacePins to "be" in the wrong model