Fixed deletion issue in the commitment list panel