Unable to select database for societies