Changed search so that it captures deleted actions that can be displayed if required.