Fix that when a variable with ttl=0 was created it was deleted directly afterwards
Merge pull request #425 from markusr/master

Fix that when a variable with ttl=0 was created it was deleted directly afterwards