Axis: fix out-of-bounds check.

&& --> ||.