Prevent empty items from being entered