Set default task to [] in case in case it hasn't already been set.