Fixing negative time since last block

This will fix #466 if approved by reporter.