This was done for one direction, but not both directions, so this commit picks up the other direction.