filling in missing table alias.. no clue what happened to it :(
fixed the dynamic task calculation

The way this query was originally built, it was counting dynamic tasks
that were children even though it was already counting their children.
Therefore, everything was roughly doubled.
Resolves issue #1423