fix synonym check in validate function - add synonym cvterm if it does not exist.