fix #20832: Crash after adding accidental