in reply to extract_tagged

Can you send us some sample data that is causing the error? Assuming extract_tagged is something you wrote, can you show us that function?

May the Force be with you