Unusual 301 redirect errors via Google

subdomian.mysite.com/category/health-care/social-security/?id=category/health-care/social-security/

I moved our directory from here:

[noparse]www.mysite.com/subdomain/category/cat1/cat2/[/noparse]

to here:

subdomain.mysite.com/c/cat1/cat2/

The problem is that google found the old url and when I put in a 301 redirect I get

?id=category

stuck in the code. The result is:

subdomain.mysite.com/c/cat1/cat2/?id=category/cat1/cat2/

Has anyone seen this happen?