Fixed CursorOutOfBounds when getting all favourites