Fix to redirect to correct dashboards url when switching projects