Allow an array in default_action

Fixes #1666

/cc @lamont-granquist