Corrects an issue where exported synonyms were broken out into multiple statements

Fixes #452