Initilize $rows to avoid a notice after clearing task nodes.
Fix a notice