Add check for empty profile deletion
Merge pull request #7 from 0x0259/master

Add check for empty profile deletion