Delete record after executing transaction

Delete record after executing transaction. Correct the check_schedule() bugs.