Fixing bug introduced by assignment from subgrid feature.