added a conditional for empty string, fixes #518
Merge pull request #519 from gwu-libraries/t518-empty-string

added a conditional for empty string, fixes #518