Fixed issue when (de)publishing automatically.
Fixed issue when (de)publishing automatically.

Checks were run before the table existence check.

GawainLynch/bolt,Calinou/bolt,joshuan/bolt,romulo1984/bolt,winiceo/bolt,bywatersolutions/reports-site,HonzaMikula/masivnipostele,Intendit/bolt,pygillier/bolt,nantunes/bolt,xeddmc/bolt,nikgo/bolt,Calinou/bolt,hannesl/bolt,pygillier/bolt,HonzaMikula/masivnipostele,hugin2005/bolt,Raistlfiren/bolt,bywatersolutions/reports-site,codesman/bolt,rarila/bolt,rossriley/bolt,romulo1984/bolt,CarsonF/bolt,bolt/bolt,pygillier/bolt,codesman/bolt,nikgo/bolt,lenvanessen/bolt,joshuan/bolt,cdowdy/bolt,Raistlfiren/bolt,HonzaMikula/bolt,marcin-piela/bolt,Calinou/bolt,bolt/bolt,hugin2005/bolt,marcin-piela/bolt,hugin2005/bolt,nantunes/bolt,GawainLynch/bolt,tekjava/bolt,electrolinux/bolt,HonzaMikula/masivnipostele,electrolinux/bolt,hugin2005/bolt,kendoctor/bolt,skript-cc/bolt,Raistlfiren/bolt,CarsonF/bolt,HonzaMikula/bolt,GawainLynch/bolt,xeddmc/bolt,rossriley/bolt,Intendit/bolt,Eiskis/bolt-base,Eiskis/bolt-base,Intendit/bolt,Calinou/bolt,lenvanessen/bolt,joshuan/bolt,kendoctor/bolt,bolt/bolt,winiceo/bolt,nantunes/bolt,winiceo/bolt,GDmac/bolt,xeddmc/bolt,marcin-piela/bolt,kendoctor/bolt,one988/cm,joshuan/bolt,GDmac/bolt,tekjava/bolt,romulo1984/bolt,nikgo/bolt,tekjava/bolt,bywatersolutions/reports-site,rarila/bolt,rarila/bolt,CarsonF/bolt,one988/cm,hannesl/bolt,marcin-piela/bolt,richardhinkamp/bolt,romulo1984/bolt,GawainLynch/bolt,Raistlfiren/bolt,pygillier/bolt,bywatersolutions/reports-site,rossriley/bolt,GDmac/bolt,cdowdy/bolt,richardhinkamp/bolt,CarsonF/bolt,richardhinkamp/bolt,richardhinkamp/bolt,GDmac/bolt,nikgo/bolt,codesman/bolt,cdowdy/bolt,lenvanessen/bolt,skript-cc/bolt,Intendit/bolt,HonzaMikula/masivnipostele,rossriley/bolt,bolt/bolt,hannesl/bolt,kendoctor/bolt,one988/cm,winiceo/bolt,Eiskis/bolt-base,HonzaMikula/bolt,cdowdy/bolt,HonzaMikula/bolt,hannesl/bolt,tekjava/bolt,electrolinux/bolt,codesman/bolt,lenvanessen/bolt,Eiskis/bolt-base,skript-cc/bolt,electrolinux/bolt,skript-cc/bolt,one988/cm,xeddmc/bolt,rarila/bolt,nantunes/bolt