Had heading precedence backwards :)