How to respawn pickups after repositioning of floor?

I just added “Spawn Pickups” function in the end of “End Trigger” event.
It can spawn Pickups but now these appears with Obstacles (Rock) as well. o.O

How to solve this new problem? I want to spawn either Rock or Pickups.