Fix wait_for* post_timeout option.

The condition to check post_timeout was incorrect.
Fixed it.