Double check that the change is being uploaded to the server. It is not possible that the fed ex charge would still be applied if you have three items in your cart with this code in place.
If you still having problems, please post a link to your site so I can investigate.