Followup bugfix for next fragment size calculation.

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