bugfix for the all row select and unselect behavior