* registry.py: Fixed bug #438623, state change events missing