Fix a possible infinite loop in VACUUM that can come up when the schema