Apply active class to selected rows as well