Fixed agenda not resetting after disconnect