Gh405 propagate flags from codesync algorithm

Should be isSync || isChildrenSync