Don't export to PDF when deactivating the post