Are you saying your WAF did not like what it wiffed?
Fortunately, there is another option so here it goes.
In a nav menu
I needed to identify nav links that are not dropdowns (home, contact), the top of a dropdown (articles), the first and last dropdown items (article 1 and article 3).
I used this.items.length and this.level for much of it, but I needed to remember this.items.length using a parameter before processing dropdown items.
I wrote a helper and then modified the menu.hbs.
Here is the code. (ugly of course)
It all works now!
I am hoping my code helps inspire others.