Honestly I did not dig this, but current RowSelectionModel passes plain array of ranges and it doesn't work when you pass an object, so I think this should be correct.
Updated Handling selection (markdown)
Created Handling selection (markdown)