Skip matching an element if a related element is not found
Use the following in the pre-search relations.
if (relatedElement.IsNull) then dontFind();