Fix a buggy log message and make the comment clearer.