Fix issue with deletePropertyFromObject not deleting on Objects.