[trunk] Ensure that nodes with post-action dependencies, that the post-action dependencies are pushed up the hierarchy