Errors in global init-script causing tasks to disappear in Cylc 8

Also, make sure you are using 8.2.2 or later. Before this there was a bug where submit-failed tasks were treated as completed.