Oy, undefined indexes went really deep! Resolved now.