Fixed small bug in requiredItemMissing