updated client to allow OR statements with an array