Fix the rejection stage plot in case there are algorithms that have both children and do work themselves (like HltUnit in HLT1).
The rejection stage plot would not be filled correctly for algorithms that have children, but also do work themselves. This patch fixes the problem. @rmatev @grav