This rule looks correct to me. Do the other states/provinces that you've excluded get free shipping too or is it just Hawaii and Alaska?
Do you have a live URL that we can test the rule on the frontend?
----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!