Instead of iterating as a key/value pair, try iterating with just the element itself and checking the individual indexes:
foreach ($row as $task) {
$value = ($task['Status'] == '0') ? '<del>' . $task['Task'] . '</del>' : $task['Task'];
echo '<td>' . $value . '</td>';
}