fix invalid pattern defintion in Resource filter