[GEOT-4911]: Fixing coordinateAxis checks
Merge pull request #566 from dromagnoli/GEOT-4911-11.x

[GEOT-4911]: Fixing coordinateAxis checks- Backport to 11.x