Fixed null safe checks for nullable structs