[#276] Fixes issue when syncing surveyed locales

* Code improvement, exiting the for loop if condition is met