fix #36901: Select two Time Signatures, Delete, and Undo, causes crash