SONAR-4724 Modify ghost detection query to avoid displaying provisioned resources