Fix a buggy validation for multi-model PDBs
Fix a bug with infinite recursion