Fixes issue where votes lists of size 2 fail to calculate the median.