Compatability fix for WP e-Commerce 3.8.14.1