Problem with Grid in multiselection mode after deleting row

Vesrion 7.6.2 through 7.6.4. I have a single column Grid configured with multiselection mode that gets its data from a BeanItemContainer. Lets assume that the container has 10 objects (ie. we have 10 rows in the grid).

If I select for example, the 5th row and remove it

Object o = myGrid.getSelectedRow();

and then select any grid row after the one that was deleted then instead of highlighting the selected row the component highlights the following one!
Is this a bug or I’m missing something…