Fixing account deletion bug