Better checking of boolean and string nullable defaults