Fix a bug that prevent to use integer 0 as a selectable item.