fix findByVotes failing if no vote exists