fixed gereration of full list for nulls

Change-Id: I9b34deaff4f2f74ad363564f28363bb89f003383
Reviewed-on: http://review.couchbase.org/43862
Reviewed-by: Iryna Mironava <irynamironava@yandex.ru>
Tested-by: Iryna Mironava <irynamironava@yandex.ru>