When pinning queries query "join" (must or should) can be selected

This enables extra filtering.