Rasa does not learn from stories

Hi all,

I have written (manually) a story for a form (how to stop the form). The story is:

- story: flight departure information - unhappy path - stop - el
  steps:
  - intent: flight_departure_info
  - slot_was_set:
    - language: el
  - action: flight_departure_form
  - active_loop: flight_departure_form
  - intent: stop
    entities:
    - language: el
  - slot_was_set:
    - language: el
  - action: utter_ask_continue_el
  - intent: deny
    entities:
    - language: el
  - slot_was_set:
    - language: el
  - action: action_deactivate_loop
  - active_loop: null
  - slot_was_set:
    - requested_slot: null
  - action: utter_flight_restart_el
  - action: action_reset_all_slots_flight_departure_form
  - slot_was_set:
    - requested_slot: null
  - slot_was_set:
    - deactivate_form: null
  - slot_was_set:
    - sl_frm_flight_departure_info_language: null

However, when used in practice, the story ends at the action action_deactivate_loop, and utter_flight_restart_el is never executed. (Instead the action listen is selected).

As a result, I created the same story in rasa interactive. The interactive one is:

- story: interactive_story_1
  steps:
  - intent: flight_departure_info
    user: |-
      I am flying
    entities:
    - language: el
    - flying: I am flying
  - slot_was_set:
    - language: el
  - action: flight_departure_form
  - active_loop: flight_departure_form
  - slot_was_set:
    - requested_slot: sl_frm_flight_departure_info_city
  - slot_was_set:
    - city: Rome
  - slot_was_set:
    - language: el
  - slot_was_set:
    - sl_frm_flight_departure_info_city: Rome
  - slot_was_set:
    - sl_frm_flight_departure_info_airport:
      - FCO
      - CIA
      - ROM
  - slot_was_set:
    - sl_frm_flight_departure_info_city_past_flights_nu: 0
  - slot_was_set:
    - sl_frm_flight_departure_info_city_future_flights_nu: 1
  - slot_was_set:
    - sl_frm_flight_departure_info_language: el
  - slot_was_set:
    - sl_frm_flight_departure_info_city_past_flights: []
  - slot_was_set:
    - requested_slot: sl_frm_flight_departure_info_time
  - slot_was_set:
    - language: el
  - slot_was_set:
    - time: 17:50
  - slot_was_set:
    - sl_frm_flight_departure_info_time: null
  - slot_was_set:
    - sl_frm_flight_departure_info_time_datetime: null
  - slot_was_set:
    - sl_frm_flight_departure_info_city_flights_to_report: null
  - slot_was_set:
    - language: el
  - slot_was_set:
    - requested_slot: sl_frm_flight_departure_info_time
  - intent: stop
    user: |-
      Stop.
    entities:
    - language: el
  - slot_was_set:
    - language: el
  - action: utter_ask_continue_el
  - intent: deny
    user: |-
      No
    entities:
    - language: el
  - slot_was_set:
    - language: el
  - action: action_deactivate_loop
  - active_loop: null
  - slot_was_set:
    - requested_slot: null
  - action: utter_flight_restart_el
  - action: action_reset_all_slots_flight_departure_form

Training with both stories, I get again the same behaviour, the bot selects listen before action utter_ask_continue_el. How to make rasa learn the whole story?

Ok, getting rid of max_history, fixes thingsā€¦

- name: TEDPolicy
    #max_history: 5
    epochs: 100