Improve Wildcard.all and array handling

Fixes #1004