Minor addition to last sync

Added the == 1 to the if statement