SSL link for Pro Upgrade admin bar button

Im getting insecure content issues from the Pro Upgrade button on the admin bar for logged in admins.

The link seems to be hard coded to http: even when browsing in https:

Please apply a patch for this asap as it stops my app being used in Facebook application iframes.