Fix invalid bounds checking

The recent fix for out of bounds scaling size was incorrectly applied to
the scaling strategy, which is not actually an index, and thus resulted
in the wrong strategy being used.