[FIX] remove potential pitfall regarding ID overflows when updating fragments
Merge pull request #844 from LukasK/fixes

[FIX] remove potential pitfall regarding ID overflows when updating frag...