[fix bug 912221] Delete profile does not work
Merge pull request #483 from alexgibson/bug-912221-delete-profile-does-not-work

[fix bug 912221] Delete profile does not work