Fixed sync logic error