BUG: Adapt flexible dtype similarly from array or object

This is a fix for #3159.   I've updated one test to account for these changes.