Fixed bug in RingListCursorWrapper which didn't handle empty cursors.