Followup, further corrections to next fragment calculation.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>