Web 2639 filter primary resources by related resources fields