make get_votes query lighter