Apparently the very first item this area is entered(overlapping with) by is the tilemap. You might want to make sure that they are on different collision layers. If you need them to be on the same collision layer for some purposes you can have one been on say layers 1 & 2 while the other is only on 1 for an example and then use another if statement to check if the body entered is assigned to the relevant collision layer. That might resolve it.
Also, my bad, you might have to use .get_name() instead of .name(). I misrecalled(or it was changed in godot 4, also possible).