Fix bug in code that masks project tags from sync