client: be more restrictive in logic expression
v0.25.2

Signed-off-by: Fedor Indutny <fedor@indutny.com>