Bugfix: use fsm_field instead of 'state'

When enumerating possible transitions, obj.state was always used, disregarding the fsm_field class attribute.