Add logic for case when no one has voted. fixes #781

When on one had voted, the current logic was failing as it was trying to call pluck on an empty set. An each was also missing from a loop in the view.