Fix bug where inactivated delegation's vote where not properly updated