Fix problem on user deletion