Fixed issue with graph getting all of the data instead of the last days worth