Fixed bug with overzealous uri labelling