Implemented removing entries of logs when a block is destroyed