Fix contact autocompletion when UID is a digit