Minor fixes to gather_templates_from_uniprot