Fix crash in log message when process history is Empty.
Merge pull request #5915 from alja/72-historyCheck-b

72x Add check for an empty processHistory