Issue with Overlap Events when spawned with an actor inside

I am trying to make a building tile grid, that is updated when an actor (without Terrain tag) enters or leave each tile’s collision box.
The gird is created on the server, updated by the client, whenever an actor leaves or enters the tile’s collision and when the player enters “Build Mode” the grid is populated and created on the client’s side, based on the information from the server.

The problem is that if an actor is already present in the collision box, when the grid is being populated, it will automatically trigger both the Begin and End Overlap events in quick succession, despite the actor still being inside the collision box, effectively resetting its build state and making the whole setup useless.

I tried using a boolean to check if the grid is not populated yet but both initial calls of the events are triggered after the grid has been initialized.

I tried making the grid keep track of every actor in it’s collision box that also didn’t seem to work or maybe i just couldn’t get it to work.

Any ideas?