Fixed problem with graph showing 8 days instead of 7