Revert auto-complete logic to replace current term both way (in front and behind)