[FIX] Exclude invalid shares from statistics

* Hashrates
* Sharetes
* Time Graphs

Fixes #797