Ensure the properties are not None before stripping them