Fix a minor bug in the vertical interpolation code.

This affected setups in which ice extends *all the way* to the top of
the computational grid.