Fixed incorrect react data output scheduling during checkpointing.

Our previous code for scheduling reaction data output during
checkpointing could result in dropped output iterations depending
on the choice of CHECKPOINT_ITERATIONS and the output interval STEP.
This has been fixed.