Handling # wildcard filters