Added more support for invalid itemstack array strings