Removes check against collection length from clear button logic.