m_spanningtree UID handler: Fix parsing user modes

Spotted by @ShutterQuick
Issue #532