Fix logic error in waiting screen.