check for nil on list.type during selection of list partial