Fixed a bug when finding the GO terms.