This method will verify the value of a property. If the value is wrong, this method should replace it with a sanitized value.