Correcting a bug in calibrate_sequential