Search for both file upload areas, select only the one with the default id. If that doesn't exist, just fall back to whatever is first in the list of selected elements.