[v6r10] Fix tdb stats

The number of Submitted tasks is in TotalCreated, and overrides tasks in status "Submitted".