#1086. Fiscal year check incorrectly assumes custom fiscal year when the FiscalYearSettings table contains any records.