Header Based Routing not working after upgrading istio from 1.4.6 to 1.5

Hi
We used to have istio version of 1.4.6 , and we implemented header based routing in this version and recently we upgraded our istio to 1.5 post this our rotuing got messed up, is header based routing disabled in 1.5 version , if yes what is the alternative for the header based routing.
below is the snippet we had for 1.4.6

    - match:
      - uri:
          prefix: /companyControl/
      route:
      - destination:
          host: apphost
          port:
            number: 8080
    - match:
      - uri:
          prefix: /hr/
        headers:
          ekscoreapp:
            exact: 'true'
      route:
      - destination:
          host: appname
          port:
            number: 8080