Lenient method to optionally create a RelativeFilter from an underlying tqa.base.dom.NonStandardResource.