Small update after pyo-tools test

Error checking for invalid field key (for example, to catch
misspellings)