Compare last log terms before log… — Code review | OneNoughtOne