I learned this the hard way as well.
If you've worked with some technology or product, but don't ever want to work with it again, don't mention it in your resume.
I mentioned doing some ColdFusion work because, well, that's what I did as part of a previous job, but when I started looking for a new job, I quickly found I wanted to take that out.
Of course, if word gets out you're a software developer looking for work, there are a whole slew of recruiters that will spam you for anything that even remotely involves computers. It's been 2-1/2 years since I was looking for work and I still get a couple e-mails a week spamming for jobs like a Linux Admin in Detroit or a Data Analyst in St. Louis (I live in Virginia and never had any intention of moving).