Changed getTimeSeriesValuesByResultId(id) to return .all() rather than .one().  This was causing an exception and None would always be returned.