Fix incorrect string replacements.
ROOMS-332: The presence of thumbnails may affect theming, so add a class.