These changes are based on those from commit 03f5ff75, except they use a UNION instead of plucking IDs into memory.
Attach a file by drag & drop or click to upload