Custom entity top content fails

I created two custom entities in a SageCRM 7.2b , Committees and Roles. Roles are committee memberships that link people to committees with additional information about the person's role on the committee and the time frame. There is an asp page under the person tabs that show a list of the person's memberships (roles) in committees and when one of the membership records links is clicked we want to switch to the context of the committee and the asp page that shows all of the members on that committee.

The link uses the custom file reference of "roles/committeesroles.asp" and passes the committee id.

The committeesroles.asp is bringing up the correct list of members and the correct tabs but the top content is still the person context prior to clicking on the link.

I am using the following code at the end of the ASP page:

if( CurrentCommitteesID != null && CurrentCommitteesID != '' )

{ CRM.AddContent(container.Execute("dacr_CommitteesId="+CurrentCommitteesID)); }

else

{ CRM.AddContent(container.Execute("dacr_CommitteesId IS NULL")); }

CRM.GetCustomEntityTopFrame("Committees");

Response.Write(CRM.GetPage('Committees'));

%>

Is there somewhere in the database I should be checking to see that the Committees entity is properly referencing the top content screen? I noticed that the wizard created a top content screen with a caption of "TopContent" instead of "CommitteesTopContent".