Disconnecting the input node to the worklet causes the worklet to crash. Adding a guard clause for empty input prevents this.