Fixes incorrect log message.