Improve the slab_nomerge check