Add query to get votes