Fix inverted assert. There should be at least one thread.