INT-3326: Fix `ClassCastException` for `GCII`