Error checking in the inventory load.