Use immutable to avoid reversing the list and improve perf a little bit.
Merge pull request #141 from wajam/olivier-fix-perfo

Use immutable to avoid reversing the list and improve perf a little bit.
Optimize synthetic deleted generated when replicating from storage

Do not generate child record delete when parent is deleted in the same transaction.
Proper solution
Merge pull request #142 from wajam/manue-optimize-synthetic-delete

Optimize synthetic deleted generated when replicating from storage
Merge branch 'master' into clement-taskdata-refactoring