Fix a crush which is due to replica calling to unreg_next_scrub.