Fix divide by 0
Workaround not being able to sort after refresh

Known issue with .NET:
http://connect.microsoft.com/VisualStudio/feedback/details/592897/collectionviewsource-sorting-only-the-first-time-it-is-bound-to-a-source