Fix typo in setting of `accept` option

If `options.accept` was set by user, it was overridden by the value of
`options.multiple`.