Fix branch parents