Made agenda reset when the agenda setter changes job. This is the closest problem I found to issue #354.