UV sterilisers are good against living organic matter, (parasites, bacteria etc.), most trace elements used by plants are inorganic and not touched by it. There is some evidence that "chelated" or "colloidal" suspensions can be disrupted by strong UV, but the jury is still out on that one.
A UV on a freshwater tank is something of a luxury in my opinion.