Rely on the proper API to exclude cases that aren't shown on the view listbox.
Attach a file by drag & drop or click to upload