Fixed bug where scheme could be incorrectly drawn

If last day of month ended on last cell in table