Fixed comparison for active page highlighting.