Patched the MSCRPlanner to correctly add dependencies between jobs planned in different stages.

Signed-off-by: Josh Wills <jwills@apache.org>