Fixed bug with is_client_request() method.