Better handling of '*/all' and 'all'