Fix the return to top insertion, because it was buggy.