what page does the accessories link direct to?
it would seam to me that there is a problem with the rewrite and the URL variable it generates and matching that agains what is in the database.
echo the SQL for the recordset that is on the page into the body, then compare that against your database.