Fixed a bug in the wait expressions.