Add get_merge_status check to menu generating logic