Fixed problem that caused user deletion