changed conditions to apply bloom filter to be a white list rather than a black list