Filter out removed page for Menu collection

Hi,

I use below TypoScript to fetch items for menu. But It includes pages which are deleted in the backend. How can I filter out the removed page please?

itemCollection = ${q(site).children('[instanceof TYPO3.Neos:Document]').get()}

Below TypoScript works:
itemCollection = ${q(site).children('[instanceof TYPO3.Neos:Document][_removed = false]').get()}

Why would you manually build this itemCollection instead of using the TYPO3.Neos:Menu object
?

I am using TYPO3.Neos:Menu, For some reason If I do not include itemCollection, There are no items show in the Menu. Below are the TypoScript for the menu.

menu = TYPO3.Neos:Menu {
itemCollection = ${q(site).children(’[instanceof TYPO3.Neos:Document][_removed = false]’).get()}
templatePath = ‘resource://Enpin.KmenpinCom/Private/Templates/NodeTypes/Menu.html’
}

You probably miss an entryLevel

No, I either have to add itemCollection or startingPoint. Otherwise, no item will show up.