Fixed a bug in a request condition