Sodxtrmts max missing days bug fix