filtering for g:selectPrimary + g:selectSecondary