Changed clear to clear only the current list type