More strict check in GridGetterSetterSubstitutor.