Will this fail if attachment_time is None?