That's what you get from not having tests.

With the previous solution, the filter always marked the entrance page
url link as active. Off course this should only happen if the page being
called is actually the entrance page. Either tests or coffe help here.
Coffee it was in my case!
Merge pull request #970 from doertedev/master

That's what you get from not having tests.