Fix some erroneous log messages

I found these while investigating another issue.