Fixing simultaneous use of aggregated units and maintenance breaks
3b_periodicLoop handled maintenance breaks and aggregations in wrong order leading to unwanted active units.
- Updating the order here
- and changing the checks that aggregated and aggregators are deactivated when outside bounds (old version activated if inside bounds)