Changes ToolPageContext#tryPublish to turn off A/B testing on publish.
Fixes NPE in search when in schedule mode.