Fix incorrect handling of overlap=0.