Fix the shipping charges processor

Fixes #428.