Updated Teleporter by adding entity id check while selecting valid portals