Incorporated from master: removing all selected rows at once, not one-by-one