MODX Community

Fred PAGE option displays deleted pages

I’ve created an element with an option, page, to select a link to a MODX resource. However, in the list of MODX resources I also see resources that have been deleted (although trash not emptied). Is there any way to stop deleted resources from appearing in the list?

{
       "name": "link",
       "label": "Link",
       "type": "page",
       "value": {
            "id": 1,
            "url": "[[~1]]"
       }
}

Also wondering if there is a way to change the order in which the MODX resources are displayed in the list? At the moment it seems quite random.