[bug 1013471] Fix for Accidental deletion of profiles