diff --git a/magick/blob.c b/magick/blob.c
index 23b0a00..e96ebd7 100644
--- a/magick/blob.c
+++ b/magick/blob.c
@@ -2325,9 +2325,7 @@
   if (*type == 'w')
     {
       (void) CopyMagickString(filename,image->filename,MaxTextExtent);
-      if ((image_info->adjoin == MagickFalse) &&
-          ((GetPreviousImageInList(image) != (Image *) NULL) ||
-           (GetNextImageInList(image) != (Image *) NULL)))
+      if (image_info->adjoin == MagickFalse)
         {
           /*
             Form filename for multi-part images.