Fixed bug with the display of foreign document uploads (refs #101)