fix an issue in record casting with optional fields
1 file changed