Fixed crashes with samples without NBT data (from NEI), fixes #4