Fix small bug in processresults