[Stats] get last date more reliable (ref #174)