fix bug in DataItem::GetAveragePerTimeFrame() which calculated return value wrong
fix another bug in GetAveragePerTimeFrame where !continuous items got always their total value returned