DataSelection: Fix off-by one errors in the summary tab that caused exceptions when the tab was selected or the user clicked 'remove selected' with the button row selected.
Fixes #561