Fixed some issues when null pointers are passed through the pipe