Sync log 412

fixes http://manage.dimagi.com/default.asp?116167