Fixed bug with task.time data type.
Fixed cors filter declaration.