Ignore invalid fields in the state file.

Refs #5039