Bug fixed in plotPredictions.