Fixing navHighlight for urls without filename.