Fix issue when initial position is in hashtable.