Fixed error when trying to un-wire non-existing input