Fix a bug with the Accept Changes button.