Fixed error with final hashtable population