WCMS-144 Change category to topic.
Fixed error where blank topics would throw an error with .each()