LPS-33575 Support for excluding Entities to have Actionable Dynamic Query