Fix bug regarding menu links with leading slash