Minor change and log typo fix.

Wasn’t working properly, though I’m not 100% sure why.