Fix multiple terms.