My @related category modification from last year might help solve your problem (I don't fully understand the question, though):
http://www.gossamer-threads.com/...?post=210464;#210464
Dan
http://www.gossamer-threads.com/...?post=210464;#210464
Dan