[libcontacts] Allow caching filter match role. Contributes to JB#47217
This is the role whose data matched the filter pattern.
This is the role whose data matched the filter pattern.
This will create a new commit in order to revert the existing changes.