Fixes an issue with task depends not being setup properly.