Use correct variable to compare that entity belongs to the same grid

Merge request reports

Loading