Fixed crash when my_brach wasn't selected.