Fix undefined index type__not_in