Reproducible crash in after-change-functions