[GEOT-4911]: Fixing coordinateAxis checks