Fixes end voting button bug