From this discussion:
As far as I can tell, when drawing the sprite that you see on top of the mining drill after you select a filter, Cursed Filter Mining Drill assumes that the name of the resourceEntity is the same as the item without checking if this is actually the case.
For example, I tried Cursed Filter Mining Drill + Angel's Infinite Ores and when selecting an infinite ore I got the same error:
It should be the same for a lot of mods that add new resources.
Otherwise, nice mod!