Fixed a glitch in agendas_scripts or whatever