Fix single hash for inserting in place