Fix for fluid class cascading on grids.