added suport for table selections
Merge branch 'IlwisCore/master'
added missing return statement