Fix BloomFilter serialization