Run tasks for umbrella projects in correct order

Fixes #1018