Fix bug in sync comment script.