Stopped duplicate profiles being created