Fix unmatching navbar items

Using a hack, now it's possible to consider pages which URL match certain
pattern as part of that section.