Fixed a bug due to inaccurate run end time in log. Refs #10069.