Because there is no test that handles this situation properly, defn.res and which.nodes provided together results in an error. https://github.com/furrer-lab/devel-abn/blob/40dc1e44269bac02adfc65ca9a4b489ebe017229/abn/R/build_score_cache.R#L590-L603
Resolve by checking if defn.res and which.nodes are not mismatching and keep if ok.