Fix bugs in RereferenceIntervalPredictionPolicy.