I think your theme is all wack.. getting loop issues and stuff all the time.
I don’t think thats the actual link but rather the a-tag is linked with just /?company=240 and since there’s nothing before that the link appears to go to that URL (which is the same as the one your on right?).
So that means get_post_type_archive_link isn’t working. What version of WP do you run? You’ll need to have it up to date (or atleast 3.1) for the function to work.