Fix handling of `accept` option.

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