Fix for 7491

- Delete sourceResource/type if type not found and default is None