Fixed NBT reading for empty lists.