re #8123 prevent crash by returning NaN
Merge remote-tracking branch 'origin/feature/8213_Dont_crash_with_empty_logs'