fix for issue #191 - check if filter.filters is not undefined when wildcard wrapping