add +1 to range.bottom for ignoreDiffsAfter

fix for #841 & #896 & #926