After adding includeRetired argument to getOrderFrequencies, you will need to pass in context.getIncludeAll()