Bug fix: Properly encode class type of NSMutableIndexSet

Bug fix: `NSMutableIndexSet`s were being encoded as non-mutable `NSIndexSet`s