Refix Votes SQL Syntax