fixed bug at function StatLabs for parameters lab_state and school_unit_state