Fix wildcard ("*") handling.