Delete now works, but there are still issues with performance. Need to figure out why it runs like crap.