Add missing table check
Add missing delete call