Kentico Uniselector - Include other page types in where conditions
( (DocumentForeignKeyValue in (Select BlogPostID from CONTENT_BlogPost where ShowInHeroWidget = 1) AND ClassName = 'CMS.BlogPost' ) )