Fix as isDefined also returns false if value is null and we still want to allow users to set defaultValue back to null