StateServer: Fix typo that caused lots of grief.
Tests: Increase test_get_zones_objects robustness to catch regressions of the grief-causing typo bug.