Handling multiple parents in the same stage correctly.