Fixes indexed fields from abstract classes not being applied.