Fix infinite loop in ICtxBroker.retrieveCommunityEntityId (closes #1816)
Fix handling of IS_MEMBER_OF association when CommunityCtxEntity
is not available (related to #1677)