Project: bamboo
Issue BAM-4386: The "no more than" instance schedule seems to shut down more instances than it should
Having a schedule configured as "no more than" e.g. "no more than 4" seems to kill all available instances, since it seems that it looks if the instance is on list (even if already scheduled to be shut down - agent stopped, but the instance is still on the list) instead of checking if given instance to be shut down has agent present or not.
Story points: 1