Fix type of grid support on LO 4.0