Detecting topological changes in water distribution systems featuring one-way devices