fix bug where productive previous days got ignored for max graph height if todays done was more than 5 but less than yesterday