Fix crash when no parameters are passed to LogicalNot