fix vote query typo