Remove unneeded search for attachment.