RosterModel: Fix positioning of roster items
This fixes the case when the roster item is the last one in the list of roster items and no new position is determined. It resulted in a segmentation fault before.
This fixes the case when the roster item is the last one in the list of roster items and no new position is determined. It resulted in a segmentation fault before.