Fixed a bug that caused the wire inputs to not trigger the factory.