Fix a long-standing bug where rebuilding the user directory wouldn't exclude support and disabled users.