private Expression<Func<PageElement, bool>> ActiveLanguageCheck(byte lang) { return pe => pe.PageElementLanguages.Where( y => y.Active).Select(y => y.LanguageId).Contains(lang); }