profiles: fix possible overriden profile

If one would change the profile title to a already existing title
something really strange is happening.