Bugfix: cycle state was not propagating correctly for tgs w/o objects

Finishing a task without an object caused the cycle task group and cycle to go into verified state. This was because children_varified/children_finished were not corrected because the loop didn't execute. Adding len(children) makes sure the loop executes at least once, before setting the new state.