fix(navigate): Only navigate if it's a valid route and not a redirect