Fix self-forking issues, caused by minimum proof-of-stake calculation

https://bitcointalk.org/index.php?topic=241445.msg3043650#msg3043650