LPS-49911 Overwrite plid variable after if validation