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