Update sync.php

Cannot break/continue 1 level