Change data type of strain param to double.
Check for empty tasks.