fixes #2236
Fix detection of tag wildcard searches