Improve Wildcard.all handling

Fixes #1004