Trying to correctly detect stable branches