Fix characters being stripped from variable names before being pushed into sets