show hidden icon in preview if entry is not shown

• if it is not (yet) published
• make query code more transparent and maintainable