Fixed schema for loop wait.