Erratum to: Groupoids, the Phragmen–Brouwer property, and the Jordan curve theorem