Fixed the weekly totals from showing wrong numbers.

Signed-off-by: SturmB <sturm359@gmail.com>