Multiple ACLs evaluation in replace-path

We had been using this configuration for long time to rewrite requests to backends and it was working perfectly

acl is_static hdr(host) -i static.example.com
acl is_staticfiles url_beg /static/
http-request replace-path /static[/](.*) /v1/AUTH_XXXXXXXXX/static/\1 if is_static is_staticfiles

After upgrading from v2.7 to latest 2.8, evaluating 2 ACLs like above stopped working. Best I am able to make work is this

http-request replace-path /static[/](.*) /v1/AUTH_XXXXXXXXX/static/\1 if { hdr(host) -i static.example.com && is_staticfiles }

Has anything changed recently with using multiple ACLs for conditions?