diff --git a/modules/titling.xml b/modules/titling.xml
index 0899181..5ca734f 100644
--- a/modules/titling.xml
+++ b/modules/titling.xml
@@ -50,10 +50,10 @@
 			<xsl:if test="index-of(('tutorial', 'laboratory', 'assignment', 'project', 'question set'), /document/@class)">
 				<xsl:if test="$showanswers='yes'">
 					<xsl:choose>
-						<xsl:when test="index-of(('tutorial', 'laboratory'), /document/@class)">
+						<xsl:when test="index-of(('tutorial', 'laboratory', 'question set'), /document/@class)">
 							<xsl:text>Selected Answers for </xsl:text>
 						</xsl:when>
-						<xsl:when test="index-of(('assignment', 'project', 'question set'), /document/@class)">
+						<xsl:when test="index-of(('assignment', 'project'), /document/@class)">
 							<xsl:text>Sample Solution for </xsl:text>
 						</xsl:when>
 					</xsl:choose>
@@ -132,10 +132,10 @@
 			    <xsl:if test="index-of(('tutorial', 'laboratory', 'assignment', 'project', 'question set'), /document/@class)">
 					<xsl:if test="$showanswers='yes'">
 						<xsl:choose>
-    						<xsl:when test="index-of(('tutorial', 'laboratory'), /document/@class)">
+    						<xsl:when test="index-of(('tutorial', 'laboratory', 'question set'), /document/@class)">
 								<xsl:text>Selected Answers for </xsl:text>
 							</xsl:when>
-                            <xsl:when test="index-of(('assignment', 'project', 'question set'), /document/@class)">
+                            <xsl:when test="index-of(('assignment', 'project'), /document/@class)">
 								<xsl:text>Sample Solution for </xsl:text>
 							</xsl:when>
 						</xsl:choose>