Quick and dirty distinct before cleanup