Updated the averages bug.

Fix for deleting the series.