Bugfix

Active tab in navbar doesn't work properly when
```router.use_httpd_rewrite``` is on true.