Fix user deletion bug