fixes handling of switched field in template; fixes #251
fixes handling of switched field in template; fixes #251

raymond91125/amigo,raymond91125/amigo,geneontology/amigo,geneontology/amigo,raymond91125/amigo,geneontology/amigo,raymond91125/amigo,geneontology/amigo,geneontology/amigo,geneontology/amigo,geneontology/amigo,raymond91125/amigo,raymond91125/amigo