fix border for TR errors

Fixes the class on tables where it was put on the TR. As for a TR border does not work.

E.g. in this case:
<table id="ItemID53637" cellspacing="0" cellpadding="2" border="0">
<tr>
<td></td>
<td class="QID53637 validity-erroneous">
<td class="valMargin"> </td>
</tr>

<table id="ItemID53637" cellspacing="0" cellpadding="2" border="0">
<tr class="validity-erroneous">
<td></td>
<td class="QID53637">
<td class="valMargin"> </td>
</tr>