Fix how community is found in client_index()