Fix broken include and exclude where statements.
Fix missing family ID.
Add new family query class.

Return the family that matches all the criteria variables.