minor improvements to edd_has_user_purchased()