COR-302: Improve the support for wildcard (*) membership type (jcr-services)