The branches aren't swapped in the after-template