Fix search for knots/bounds for baselineSGP