Fixed hashtable merge