Only send valuation errors in case there is at least one error

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>