Fixed runtime error for bad field names