Stupid error when fixing scheduler tests.