Temporary fix for invalid link selection in the navbar