filtering for g:selectPrimary g:selectSecondary example updates