Fixes multiple updates on multiple flush executions