Fix: wildcard query not working for dicts