Minor improvements to edd_purchase_variable_pricing(). #1036