Minor change

Looks cleaner to have if(pipeExists) instead of if(pipeExists != 0)