Fix grid parameters passed in mass actions