Fix: Check if the resource is required by quattor before any deletion