Problems with FirstCustomFieldValue

Hi,

I am trying to modify the SelfService/MyRequests page to include a
Custom Field for each ticket.

The problem is that I am not getting the correct CustomFieldValues
returned. For the first ticket, I get the correct value.

For the second ticket, I don’t get the correct value. I get a value
from another CustomField in that ticket. The custom field following
that value.

I am using RT 3.4.4 and the following code.

<& /Elements/TitleBoxStart, title => $title &>

% while (my $Ticket = $MyTickets->Next) { % my $Schedule = $Ticket->FirstCustomFieldValue('Schedule') || ''; % }
<&|/l&>Subject <&|/l&>Issue Priority <&|/l&>Schedule <&|/l&>Status <&|/l&>Owner
<%$Ticket->Id%>: <%$Ticket->Subject%> <%$Schedule%> <%loc($Ticket->Status)%> <%$Ticket->OwnerObj->Name%>
<& /Elements/TitleBoxEnd &>

Any help would be appreciated.

Thanks,
Laura