Fixed NullPointer in old Inverter
Fixed NPE in InvertNodeFactory (deprecated)