Fix problems with grids

After updating to Flux 7.0.0 we experienced some problems with our FCEs; these are fixed in this changeset (which is only three lines); it would be great if you could push out a new version to TER as soon as possible as we're quite sure that this bug affects other users, too.