Fix #1313 : edit multiple records does not work
Merge pull request #500 from romainneutron/fix-1313

[3.8] Fix #1313 : edit multiple records does not work