Ensure stored String[] and ItemStack are not modified
Handle null value in String[]