1107841 - Avoid creating profile with empty id