refix 0b08ed03 (courtesy of ZeroBeeOne). Prevents data being cleared when publishing via scheduling mechanism