Important fix to the getvaluesfortimespan to a bug caused by the values
being expected in the order oldest to newest, while the new order is
newest to oldest