Changed is_leader to is_manager.
Tweaks (partly for chosen breaking and removing the min/max which we\'ll leave for later).