  const q = []
  if (database.length !== 0) { q.push(`d=${database.join(',')}`) }
  if (title !== preset.title) { q.push(`t=${encodeURIComponent(title)}`) }
  if (selected.size !== preset.selected.length || !preset.selected.every(id => selected.has(id))) {
    q.push(`s=${Array.from(selected).map(id => encodeURIComponent(id.replace(/ /g, '_')))
            .join(',')}`)
  }
  if (expand !== preset.expand) { q.push(`e=${expand}`) }
  if (chronology !== preset.chronology) { q.push(`c=${chronology | 0}`) }
  h