Bugfixes:Fixed an issue where contract count was displayed in matters even when users were not members of the contract