Fixing negative time since last block

This will fix #466 if approved by reporter.
Merge pull request #477 from TheSerapher/issue-466

Fixing negative time since last block