identified endpoint calculation problem; fixed handling of empty list for egauge type

The final endpoint is incorrectly calculated where raw data occurs in fractional minutes due to further readings occurring in the same minute.