Changed comparison for when item is not set