Bug fix for error in edit user.