Sync the grains on grains.setval, Fix #5009
Merge pull request #5036 from basepi/syncgrains5009

Sync the grains on grains.setval, Fix #5009