Change Confirmation to not use array_flip()

I get the following error in ValidatingTrait.php, getConfirmationAttributes():

> array_flip(): Can only flip STRING and INTEGER values!

This happens when I use a file input field for example.