Elections in the shadow of ethnic trench warfare