Added logIndex increment when iterating thru chosen log entries