fix(Pipes): Properly assign pipe property

Added the flag pipe=true for both the top and bottom pipe. Previously
only the bottom pipe was assigned as a pipe so was the only part of
the pipe being deleted. This caused a terrible memory leak.