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

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