Fix bugs in predictor stuff.