Fixed a few bugs with NBT and QMCItemStack