Fixed a bug where range voting would be offset by one after being updated via javascript.