[#2141] Modified the query to not return resources with an EMPTY_RESC_HOST or EMPTY_VAULT_PATH