check leader only if there is at least two logs