bug fix: check that uncertainties exist before testing them