CORE-4173: fixed a bug that was preventing the workflow preview service from working.