How do segment’s conditions work?