Yuck...This is a fun one.
Again I am pretty sure your totals are not working because yuor formulas are hapening "while printing records" and therefore the ultimate count or soem do not exist when the running totals happen so it isn't working.
Seems like it might be better handled in a view or stored procedure but this might work...
Group on ParentID# for Group1
Group on Tech for Group2
Do a Count Summary function on ParentID# and place in GF1.
Select the SummaryCount field and and clcik on Select Expert.
It should default to the Count of field and the Group Selection toggle button should be activated.
For now just put in Is Greater than 1.
Click on Edit formula (make sure you are in Group Selection)
adjust the fomrula to be:
if Count ({table.ParentID#field}, {table.ParentID#field}) > 1 then {table.ParentID#field}<>{table.ChildID#field}
Hopefully this will drop out the Parent if there are any children and leave it when there are not any and now let you just SUM the hours per worker grouping.
Let me know if it works.