Clear source and target fields when resetting the route.