Fix handling of the max_count argument to UserManController.enumerateUsers.