Fixes #2891: Re-factoring how selected rows is handled in the alch-table
directive.
Merge pull request #2919 from ehelms/alch-table-fixes

Fixes #2891: Re-factoring how selected rows is handled in the alch-table