Add a LastOccurrenceOf function to match previous