Fix a syntax bug in ERAttachmentUploadQueue

that prevented building