fix #1961
Merge pull request #2015 from digi604/fix-1961

fixes deleting users