Fix Ryan's Unexpected structural type bug.