Minor scheduling fixes.