Fixing SimPy bug #52 in Sim# (https://bitbucket.org/simpy/simpy/issue/52/incorrect-allof-condition-handling)