FIX: first vote for any frame was divided by 2 because of SQL precedence issue