Wrapped all ValidateObjectsConsistency() calls in DEBUG.