fix wrong maxDraw

maxdraw's max date may just less than the maxDate.getDate()