Fix/synchronization 188

Correctly process several synchronization commands on the same file in the same session.