Fixes jigoshop/jigoshop#917