Fixing bug when downloading a work -refs #7027