Scheduling bugfixes.