Note latest change
Make sure we force expand_array on inside of foreign_key_info, then reset it back the way it was.
Per complaint on RT #51780. Much thanks to Tim Bunce for helping unravel this.