Fix for the determination of the global_stats flag in model_statistics().
Authored by: bugman 2008-10-12
Parent: [r7639]
Child: [r7641]