Rewrite the slab_nomerge check