Fix corner cases for communities getters/setters