Small fix for bloomfilter assert

Still need a unit_test to prevent these error from ever happening again, see #187