Fix bug where bot operator wasn't being persisted