TMDM-7649: Synchronization wasn't working on SQL Storage

(cherry picked from commit 4d45b6ece1eef88fa2d67205a5bdd31d5e0dc8b1)