Fixed a minor bug with single item