Move entry number to head of leaf log record.

Closes #145.