You are of course, as always, correct!! lol
I forgot to change it for the new WHERE in the nested select statement....
Also, on the TypeBreadcrumbs, I used a show if to remove the empty entries <?php if (($TypeBreadcrumbs->getColumnVal("typeCount")) > 0) { ?><?php } ?>
Thanks for your help