Issue with deleting a variable with data already, needed to convert string to integer

Reviewer: Chezka Arevalo (post commit)

Issue: GCP-9461