Fix progress bar bug in fetching values from contributions.

Now the progressbar can fetch values with in a date range.
It will only consider completed contributions.
It fetch values from the net amount.