Fixed issue with single wildcard

Fixes #1068