Repair insert mode.

I broke it here: 77e1ded091062ca2e52264d222482dcd06290a9b