Add quotes around auto completed term to avoid problems with e.g. colon.