Try to handle missing dates in history graph