It has nothing to do with the script Sir or blast furnace itself.
you are using mirror mode I assume? and that's causing this issue for you
it shouldn't refill the coal bag, should just put the coal on the belt instead.
WIll check this out on mirror and see if I can find a fix for that ^^