look for temporary attachments on context, not on portal, refs #247 #10893