Removed the now obsolete checks that all correct tasks are active. Will need to be re-done correctly.