Fix batch subjobs' next_id values for batches with a superworker and worker as batch children
Add Subjob#descendants_are_complete to attr_accessible