Fix tab-completion delay on last entry.