Fix error on None value related items.