Fix predictor assignment scope