Bug fix where averages based on active or won cases

Fixed to just base averages on active (exclude won or lost)