Fix bug adding a new debate. Cover with casper test
lint