Fixed a bug that screwed up repeat enter.