Edited task variables passed from database to proper syntak - integer or string.