This optimization is usually disabled if not all paths return the same local object.
Attach a file by drag & drop or click to upload