Better detection when the branch has been merged