Fixes child rows bug

When datatable is nested in another table the shown class is added to several tr elements which leads to problems with css styling, e.g. all lines show the open icon.