Fixed retrieving table name from resultdataset