Fix in commitLog adapter selection.