add StartsWith and EndsWith conditions.