#172 18EU: invalid red-to-red route calculation in Hamburg

I've attached two save files where routes going through Hamburg are calculated incorrectly in Rails 1.8.7.

In the first one, the company running London-Hamburg-Berlin is incorrectly given a red-to-red bonus despite the route not ending in a red on both ends.

In the second a company running London-Hamburg-Warsaw with 4 tokens is given a 360(!) red-to-red bonus instead what I believe is the correct 120. It's almost as if the bonus is given for all 3 distinct pairs of red-to-red on the route.