This is a good reminder to always have a third-party mechanic inspect a vehicle before you purchase. Lots of these vehicles will be shipped elsewhere in the country, possibly with any title branding removed (title washing).
I personally would never want to deal with the issues resulting from flood damage. Corrosion/rust, mold, and electrical quirks. No thanks.