fix Issue 11778 - format for null does not verify fmt flags.