When `allRowsSelected` is true, clipboard copy returns undefined since `getLastSelectionType` is not returning as 'row'