Fixed field_as_key field check