Fixed a crash if the input data was null