Bug #2209: Get ID from first column of datatable if not present in second