Fix horrible crash when LASTDONE == due