Hopefully fixed specs, fixed the attachment index overflowing due to a long file url.