Fixed non-deterministic task scheduling problem :)