Added check for nested datasets inside a datasetScan, which is an invalid catalog entry.