Shouldn’t history and logbook show the same number of changes for a sensor over the same time period?

First look at the history:

And now the logbook. (Note the time periods are the same)

The history shows the sensor changed state at least 6 times. Why am I only seeing two logging events for the same time period?