bloom_insert: properly return m rather than hardcoding 0