include doc type check in reprocessing condition
bigfix for recursive dependency issues with case processing

test + a bit of cleanup