Check whether any subrecords remain after skipping moved references.

Should resolve bug #2070.