Fix potential crash when shuffling mbufs