thanks a lot: Worked like a charm, everything's fixed!
I just added the following line to your asp_fix_https()-function. so that the user is directed to the correct URL when clicking a search result:
$v->link = str_replace( 'http:', 'https:', $v->link );
Best regards and have a good weekend,