Move bloom filter value switch checking from Buffer directly
to bloom filter class