Prevent case where next graph refresh time is far in the past