Fix another strange crash in logs