Abort model's query only if all conditions have no rows in source model

You are correct. I whiffed on that one. Try three models: 1) an account model with a condition of receive your accountid parameter 2) a contact model to receive your contactid parameter 3) your primary model that has two conditions set to “in rows of another model”. Set the condition logic to 1 OR 2.