Clicking the clear button raised the changed event twice. fixes #867