Removed comments from result cleaning function