make resource types filter work with ProcessPattern AND OR logic