A method to protect Bloom filters from soft errors