Fix ScanValue when DefaultTimeLayout is empty.