Fixed ugly crash in FDW.