Fixing the profile sync from the auto complete field.

#4373