Can't insert citation in footnote with X4.0.1 patch

I use a modified Chicago B style template. The dash for repeated authors in the bibliography was not displayed at all first. I then downloaded the patch. Now there are some dashes but it’s not consistent. So for some repeated authors it does show the dash, for others it doesn’t! Any clue?!

… in fact, this happens when the list of publications by the same author consists of different reference types. That is, it shows dashes for the articles and then shows the name again for a book by the same author (and then starts again with the dashes)