altered the way the prefilter published element check works. As prefilters can be assigned to the menu item, you may have prefilters which do not relate to the list being shown (e.g. when list is rendered as a content plugin or with related data), Altered things so that we check first if element is loaded and then if specifically its unpublished