As an update to OH-Dev: I pushed some changes that make the template use this big SQL query also, rather than doing one or more queries per project, and now /+projects/ loads at a reasonable speed! Ya-hoo! -- Asheesh.