Temporary fix for deletion on post publish page.