anchor.diff:                    </c:forEach>
                   </td>
                   <td align="center" nowrap>
  -                  <html:link action="/modifyQueryChange?method=run&amp;name=${savedQuery.key}&amp;type=${type}"
  -                             titleKey="history.action.execute.hover">
  -                    <fmt:message key="history.action.execute"/>
  -                  </html:link>
  +                  <c:choose>
  +                    <c:when test="${validQuery}">
  +                      <html:link action="/modifyQueryChange?method=run&amp;name=${savedQuery.key}&amp;type=${type}"
  +                                 titleKey="history.action.execute.hover">
  +                        <fmt:message key="history.action.execute"/>
  +                      </html:link>
  +                    </c:when>
  +                    <c:otherwise>
  +                      <fmt:message key="history.action.execute"/>
  +                    </c:otherwise>
  +                  </c:choose>
                     |
                             <html:link action="/modifyQueryChange?method=load&amp;name=${savedQuery.key}&type=${type}"
                                titleKey="history.action.edit.hover">
  
positive.code:           </tr>
            <c:forEach items="${queryMap}" var="savedQuery" varStatus="status">
              <c:if test="${!empty savedQuery.key && !empty savedQuery.value}">
                <tr>
                  <td>
                    <html:multibox property="selectedQueries"
  
negative.code:                   </html:multibox>
                  </td>
                  <c:choose>
                    <c:when test="${!validQuery}">
                      <td align="left" colspan="2" nowrap>
                        <html:link action="/templateProblems?name=${savedQuery.key}&amp;type=saved" styleClass="brokenTmplLink">
                        <strike>${savedQuery.value.name}</strike>
  