Fix profiles-bug in names-selection