small fix to sortable agenda