Fix bugs in log parser for ids ua logs