Fixed logging duplicate results