Fixed bug in checkpointing predictor