Simplified clean_list implementation