Fixed DimensionAdapter.equals