Add recursive function to allow has_current navigation links to be found in any level of navigation