don't fail hard with weirdly structured es results

also fixes an old bug related to getting the form name.
and Case:61331