Trim the results