Stop LoadCartesianGrid if categorical property is found