Improvement to how themes are calculated for tags and stories. Requires new table as defined in install file