diff --git a/Scheduler/Console/Parse.cc b/Scheduler/Console/Parse.cc
index 48cd0a5da90f8d5524e471daafe0ea5e835bcab3..dc1dbce4a6f5f30caf0b1debfe2ba20035731332 100644
--- a/Scheduler/Console/Parse.cc
+++ b/Scheduler/Console/Parse.cc
@@ -136,7 +136,7 @@ prefix_ std::ostream & senf::console::operator<<(std::ostream & os, Token const
         0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 7, 0, 6, 0, 10 };
     // We need to check token.type() against 0 explicitly since 0 and 1 will both be mapped to 0
     os << tokenTypeName[ token.type() 
-                         ? bitPosition[((token.type() & -token.type()) * 0x077CB531UL) >> 27]
+                         ? bitPosition[(((token.type() & -token.type()) * 0x077CB531UL) >> 27) & 31]
                          : 0 ]
        << "('"
        << token.value()