Fix for passing the purge time set in snippet