Only show menu level 2 from active trail (with option Show as expanded)
I also discovered that if "Show as expanded" is checked, the menu is displayed at sublevels where it should not appear. This patch fix this behavior:

https://www.drupal.org/node/2631468#comment-10792980