Need to remove other items in KV and batch_ tables when a batch is Cleared.
Active
Code
Add a command or clean up automatically?