IfLogic runtime actor NullPointer fix