Remove spaces in item ID.
Closes #349.