bugfix datagrid - when removed elements vs selected elements