Slot_was_set is not working as expected

looks like a core feature from rasa but it doesn’t seem to work. I’m not quite sure what is the best approach and practice here. Does anyone has a solution?