Fixed list clearing issue.