Fix broken selection.clean method