Bug fix - the pipe switching flag is now propagated all the way to the data store add() method.
The flag was previously not sent to the method so that the creation of a new data pipe always
resulted in a switch to that pipe. This bug is normally harmless.