Prevent item identifiers from ending with a slash