Bug fix for both generic_fns.state unit tests.
Authored by: bugman 2007-11-20
Parent: [r3712]
Child: [r3714]