Fix unwanted message display in quiet mode.