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