Removed a piece of code from attachments for an older version of mongo.