Fixed KeyErrors by retrieving fields with a longer method. Note sure why this error occurred in the first place. IT WORKS