Compare last log terms before log… — Repository coding | OneNoughtOne