Quick fix to avoid a log-zero warning.