fixed last (empty) segment to be highlighted as active on URL-based file load