A null reference in a nested collection wasn't properly handled by the structural equivalency assertions. Fixed #165.