Fix for inventory import