Move the condition to check if selection syncing is enabled to inside the syncing function rather than before each time it is called.
Move the condition to check if selection syncing is enabled to inside the syncing function rather than before each time it is called.