Fixes IOS-486 Add `$starts_with` and `$ends_with` to criteria parsing.