Fix scheduling mess.