Fixing for unserializion error.

Because BloomFilter is a base class, with other classes derived from
it, it needs special treatment.