scheduler: fix - unprocessed commands going directly to done