refactor
fixes #3822
Simple fix for this ticket, by setting to 0 any negative time
Merge remote-tracking branch 'origin/master'