I believe you are seeing an expected behaviour, in that, newly created objects can't be fully addressed until the next top-level event. You've already got the solution in the "This work correctly" event. Just add the same zaman condition, and move your zaman=1 to the second event so they both run just once.
Keep in mind that IIDs and UIDs are not fixed. They can change as objects are created/deleted. Use some other means to address them explicitly.