Performing surgery on my Zotero database

I encountered a unique problem with my setup that I couldn't find a solution for in the or anywhere else online. For posterity, here's how I solved it.