Fix: incorrect context role casted to bool