fixed handling of CHECKPOINT_DURATION[_LAST] #1160

see also Tokutek/ft-index#249

fixes #1160