Fix retrieving votes from database