Change Integer to Boolean for isDeleteted  property type(#229)