Fix some misleading debug messages.