Firefox compatibility, handle all cases where log is empty gracefully.