Fix ItemTranslator failing to recognize items if there's spaces.