Simplify isInPublishedDataset
Simplify isInPublishedDataset

Code had nested if { } else if { } else { } that could be simplified.

materials-commons/mcstore,materials-commons/mcstore,materials-commons/mcstore