The dynamics folder(s) play the same role in BD as DD (a temporary cache), except in BD there is one dynamic folder per act. Unfortunately, since moving the ingredients in your inventory updates the quest info (before the latest patch) clearing the dynamics folder will not help. Most likely a procedure like the FIX for broken Holy Items quest in Divinity would work here. I should check this before I install the new patch...