Fix issue when remove an idea with votes threw an exception