Added error checking and logging
Only continue matching if both species have chebi ids