Fixed a validation error in InventoryMenu.