My comment is now hidden after the code update so I'll repeat it here. Not sure if that is the best thing to do, so sorry for the spam.

filter_pre_id should not be cleared. This is used in update triggers.