Fix study-year test in curation tool.

This should "pass" (be silent) if either the study year or publication
string is empty.