Strips out unknown values from variables