Added handling for blank item names