Only copy the current hash to the last insert hash if it has been set.