Modified lastCommittee function in CommitteesCtrl