Potential fix for #1004

Potential fix for #1004. If I got it right, the error only occured when using the single bandage option. Pls test and merge.