Validate types for IN subquery expression