problem with search results coming back as https items

problem with search results coming back as https items

I have implemented google search on my site using your directions, and that all seems to work fine:

However, some results come back with https in the url, when this occurs, if you click on that result, it triggers a security warning because the site is shifting from http to https.

I tried recreating one of these pages, and that didn't work.

How can I fix this?