Fixed the NBTHash class iterator and removed an unused import statement.