Fix non expanding of navigation for inner classes

Correctly handle delimiter for inner classes when expanding navigation