Fixed index-out-of-bounds crash when swiping quickly between first and second items.