fix #781

This fix allows adding a on_when_not_aggregating param to an IF.
This allows the IF to control if a postprocessor should be turned off when the analysis is running in aoi_mode.
@timlinux can you have a look?